@import './config/params.less';

page {
    min-height: 100vh;
    background-color: rgb(248, 248, 248);
    box-sizing: border-box;
}

#app {
    background-color: #f8f8f8;
}

view,
text {
    line-height: 1;
}

button::after {
    display: none;
}


.dis-flex {
    display: flex;
    flex-direction: row;
}

.vertical {
    display: flex;
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-top {
    align-items: flex-start;
}

.flex-middle {
    align-items: center;
}

.flex-bottom {
    align-items: flex-end;
}

.flex-center {
    justify-content: center;
}

.flex-left {
    justify-content: flex-start;
}

.flex-right {
    justify-content: flex-end;
}

.flex-between {
    justify-content: space-between;
}

.flex-around {
    justify-content: space-around;
}

.clamp-1 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-height: 1.5;
}

.clamp-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.5;
}

.clamp-3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.5;
}

page {
    min-height: 100vh;
    background-color: #f8f8f8;
    box-sizing: border-box;
}

view,
text {
    line-height: 1;
}

button {
    &::after {
        display: none;
    }
}

/* text */
.line-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* icon */
.right-icon {
    content: " ";
    display: inline-block;
    flex-shrink: 0;
    margin-left: 10rpx;
    height: 10rpx;
    width: 10rpx;
    border-width: 2rpx 2rpx 0 0;
    border-color: #9496ab;
    border-style: solid;
    transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
}

/* flex */
.flex {
    flex: 1;
}

/* form */
.form {
    .bottom-btn-box {
        padding: 50rpx 40rpx;

        .btn {
            height: 90rpx;
            line-height: 90rpx;
            font-size: 36rpx;
            color: #333;
            background-color: @themeColor;
            border-radius: 45rpx;

            &.button-hover {
                background-color: #eecf05;
            }
        }
    }
}

/* common */
.finished-tip {
    padding: 30rpx 0;
    text-align: center;
    font-size: 24rpx;
    color: #999;
}

.empty-result-box {
    display: flex;
    flex-direction: column;
    align-items: center;

    .text {
        font-size: 28rpx;
        color: #999;
    }
}

.dis-flex {
    display: flex;
    flex-direction: row;
}

.vertical {
    display: flex;
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-top {
    align-items: flex-start;
}

.flex-middle {
    align-items: center;
}

.flex-bottom {
    align-items: flex-end;
}

.flex-center {
    justify-content: center;
}

.flex-left {
    justify-content: flex-start;
}

.flex-right {
    justify-content: flex-end;
}

.flex-between {
    justify-content: space-between;
}

.flex-around {
    justify-content: space-around;
}

.clamp-1 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-height: 1.5;
}

.clamp-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.5;
}

.clamp-3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.5;
}



//h5特殊样式
button {
    border: none;
}

.fixed {
    bottom: 0;
    /* 在 H5 模式下将会编译成 margin-bottom: 50px，在小程序模式下则会忽略 */
    margin-bottom: taro-tabbar-height;
}

textarea {
    border: none
}

.taro-img {
    width: 100%;
    height: 100%;
}

.taro_page{
    background: rgb(248, 248, 248)
}

.weui-btn{
    font-weight: normal !important;
}

//分享遮罩
.h5Zhezhao{
    top: 0;
    position: fixed;
    width: 100%;
    left: 0;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10;
    display: flex;
    justify-content: flex-end;
}